package com.bifang.common.vo;

import com.bifang.common.interfaces.DictType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 数据字典查询对象
 *
 * @author lvxk
 * @since 20211116
 */
@Data
@ApiModel(value = "数据字典查询对象", description = "数据字典查询对象")
public class DictTypeVO implements DictType {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "属性名称（字段）")
    private String propertyName;

    @ApiModelProperty(value = "所属字段")
    private String dictField;

    @ApiModelProperty(value = "字段中文")
    private String fieldName;

    public DictTypeVO() {}

    public DictTypeVO(String propertyName, String dictField, String fieldName) {
        this.propertyName = propertyName;
        this.dictField = dictField;
        this.fieldName = fieldName;
    }
}
